﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using e_bank;

namespace e_shop
{
    public class Shop
    {
        private Bank bank;

        public Shop(Bank bank)
        {
            this.bank = bank;
        }


        public bool Buy(int[] cash)
        {
            return this.bank.ValidateCash(cash);
        }
    }
}
